package com.smart.campus.interfaces;

import com.smart.campus.dto.SysMenu;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface SysMenuServiceApi {
    @RequestMapping(value = "sysMenu/findSysMenuList")
    public List<SysMenu> findSysMenuList(@RequestBody SysMenu sysMenu);

    @RequestMapping(value = "sysMenu/selectPermsByUserId")
    public List<String> selectPermsByUserId(@RequestParam(value = "userId") Long userId);
}
